package com.isoft.illustrationsdraw.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;

@Data
@TableName("like_illustrations")
public class LikeIllustration {
    private Long id;
    private Long userId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long illustrationId;
    private int visibility;

    public LikeIllustration(){}
}
